<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <script>
const promsie = new Promise((resolve,reject)=>{
  reject('faiure')
})
promsie.then(res=>{
  console.log("成功的回调",res)
}).catch(err=>{
  console.log("失败的回调~",err)
})
promsie.catch(err=>{
  console.log("失败的回调~",err)
})
promsie.catch(err=>{
  console.log("失败的回调~",err)
})
promsie.catch(err=>{
  console.log("失败的回调~",err)
})
promsie.catch(err=>{
  console.log("失败的回调~",err)
})
  </script>
</body>
</h